import { RMIProxyObject } from "../../Engine/RMI/RMIProxyObject";
import { ITestPrx } from "./ITestPrx";
import { AMI_ITest_addAnger } from "./AMI_ITest_addAnger";
import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { Outgoing } from "../../Engine/RMI/Outgoing";
import { AMI_ITest_addBuffer } from "./AMI_ITest_addBuffer";
import { AMI_ITest_addExperience } from "./AMI_ITest_addExperience";
import { AMI_ITest_addIntimate } from "./AMI_ITest_addIntimate";
import { AMI_ITest_addItem } from "./AMI_ITest_addItem";
import { AMI_ITest_addLifeOrMana } from "./AMI_ITest_addLifeOrMana";
import { AMI_ITest_addMoney } from "./AMI_ITest_addMoney";
import { AMI_ITest_addPetBless } from "./AMI_ITest_addPetBless";
import { AMI_ITest_addPetSkill } from "./AMI_ITest_addPetSkill";
import { AMI_ITest_addTitle } from "./AMI_ITest_addTitle";
import { AMI_ITest_changeDurable } from "./AMI_ITest_changeDurable";
import { AMI_ITest_changeGuildValue } from "./AMI_ITest_changeGuildValue";
import { AMI_ITest_changeVIP } from "./AMI_ITest_changeVIP";
import { AMI_ITest_completeOneTask } from "./AMI_ITest_completeOneTask";
import { AMI_ITest_endTask } from "./AMI_ITest_endTask";
import { AMI_ITest_getTotalDay } from "./AMI_ITest_getTotalDay";
import { AMI_ITest_killBoss } from "./AMI_ITest_killBoss";
import { AMI_ITest_loadOperationOnlineInnerTest } from "./AMI_ITest_loadOperationOnlineInnerTest";
import { AMI_ITest_loadSpecialActiveInnerTest } from "./AMI_ITest_loadSpecialActiveInnerTest";
import { AMI_ITest_modifyAboutAchieve } from "./AMI_ITest_modifyAboutAchieve";
import { AMI_ITest_modifyFieldValue } from "./AMI_ITest_modifyFieldValue";
import { AMI_ITest_modifyOnlineDays } from "./AMI_ITest_modifyOnlineDays";
import { AMI_ITest_modifyWorldLevel } from "./AMI_ITest_modifyWorldLevel";
import { AMI_ITest_pickupItem } from "./AMI_ITest_pickupItem";
import { DictIntIntHelper } from "../Public/DictIntIntHelper";
import { AMI_ITest_rechargeGold } from "./AMI_ITest_rechargeGold";
import { AMI_ITest_reloadConfigData } from "./AMI_ITest_reloadConfigData";
import { AMI_ITest_test } from "./AMI_ITest_test";
import { AMI_ITest_testFly } from "./AMI_ITest_testFly";
import { SPoint } from "../Public/SPoint";
import { AMI_ITest_updateCamp } from "./AMI_ITest_updateCamp";
import { AMI_ITest_updateChangeSexDt } from "./AMI_ITest_updateChangeSexDt";
import { AMI_ITest_updateContinuousLoad } from "./AMI_ITest_updateContinuousLoad";
import { AMI_ITest_updateCreateDt } from "./AMI_ITest_updateCreateDt";
import { AMI_ITest_updateDate } from "./AMI_ITest_updateDate";
import { AMI_ITest_updateExtendFlag } from "./AMI_ITest_updateExtendFlag";
import { AMI_ITest_updateFightSpirit } from "./AMI_ITest_updateFightSpirit";
import { AMI_ITest_updateFromAddress } from "./AMI_ITest_updateFromAddress";
import { AMI_ITest_updateIssm } from "./AMI_ITest_updateIssm";
import { AMI_ITest_updateLevel } from "./AMI_ITest_updateLevel";
import { AMI_ITest_updateOnlineTime } from "./AMI_ITest_updateOnlineTime";
import { AMI_ITest_updatePetExplore } from "./AMI_ITest_updatePetExplore";
import { AMI_ITest_updatePetLevel } from "./AMI_ITest_updatePetLevel";
import { AMI_ITest_updateRecharge } from "./AMI_ITest_updateRecharge";
import { AMI_ITest_useItem } from "./AMI_ITest_useItem";
type int = number;
//class ITestPrxHelper
    
    export  class ITestPrxHelper extends RMIProxyObject implements ITestPrx
    {
        constructor()
        {
            
            super();name = "ITest";
            return;
        }

        public addAnger_async(arg1: AMI_ITest_addAnger, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addAnger");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addBuffer_async(arg1: AMI_ITest_addBuffer, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addBuffer");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addExperience_async(arg1: AMI_ITest_addExperience, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addExperience");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addIntimate_async(arg1: AMI_ITest_addIntimate, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addIntimate");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addItem_async(arg1: AMI_ITest_addItem, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addLifeOrMana_async(arg1: AMI_ITest_addLifeOrMana, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addLifeOrMana");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addMoney_async(arg1: AMI_ITest_addMoney, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addMoney");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addPetBless_async(arg1: AMI_ITest_addPetBless, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addPetBless");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addPetSkill_async(arg1: AMI_ITest_addPetSkill, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addPetSkill");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public addTitle_async(arg1: AMI_ITest_addTitle, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("addTitle");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeDurable_async(arg1: AMI_ITest_changeDurable, arg2: int, arg3: int, arg4: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeDurable");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeGuildValue_async(arg1: AMI_ITest_changeGuildValue, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeGuildValue");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public changeVIP_async(arg1: AMI_ITest_changeVIP, arg2: int, arg3: Date): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("changeVIP");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeDate(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public completeOneTask_async(arg1: AMI_ITest_completeOneTask, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("completeOneTask");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public endTask_async(arg1: AMI_ITest_endTask, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("endTask");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public getTotalDay_async(arg1: AMI_ITest_getTotalDay): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("getTotalDay");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public killBoss_async(arg1: AMI_ITest_killBoss, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("killBoss");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public loadOperationOnlineInnerTest_async(arg1: AMI_ITest_loadOperationOnlineInnerTest): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("loadOperationOnlineInnerTest");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public loadSpecialActiveInnerTest_async(arg1: AMI_ITest_loadSpecialActiveInnerTest): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("loadSpecialActiveInnerTest");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyAboutAchieve_async(arg1: AMI_ITest_modifyAboutAchieve, arg2: int, arg3: int, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyAboutAchieve");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyFieldValue_async(arg1: AMI_ITest_modifyFieldValue, arg2: int, arg3: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyFieldValue");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeString(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyOnlineDays_async(arg1: AMI_ITest_modifyOnlineDays, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyOnlineDays");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public modifyWorldLevel_async(arg1: AMI_ITest_modifyWorldLevel, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("modifyWorldLevel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public pickupItem_async(arg1: AMI_ITest_pickupItem, arg2: Map<any, any> /* flash.utils.Dictionary */): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("pickupItem");
            var loc3=new SerializeStream();
            DictIntIntHelper.write(loc3, arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public rechargeGold_async(arg1: AMI_ITest_rechargeGold, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("rechargeGold");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public reloadConfigData_async(arg1: AMI_ITest_reloadConfigData): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("reloadConfigData");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public test_async(arg1: AMI_ITest_test): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("test");
            var loc3=new SerializeStream();
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public testFly_async(arg1: AMI_ITest_testFly, arg2: int, arg3: SPoint, arg4: int, arg5: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("testFly");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            arg3.__write(loc3);
            loc3.writeInt(arg4);
            loc3.writeInt(arg5);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateCamp_async(arg1: AMI_ITest_updateCamp, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateCamp");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateChangeSexDt_async(arg1: AMI_ITest_updateChangeSexDt, arg2: Date): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateChangeSexDt");
            var loc3;
            (loc3 = new SerializeStream()).writeDate(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateContinuousLoad_async(arg1: AMI_ITest_updateContinuousLoad, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateContinuousLoad");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateCreateDt_async(arg1: AMI_ITest_updateCreateDt, arg2: Date): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateCreateDt");
            var loc3;
            (loc3 = new SerializeStream()).writeDate(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateDate_async(arg1: AMI_ITest_updateDate, arg2: Date, arg3: int, arg4: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateDate");
            var loc3;
            (loc3 = new SerializeStream()).writeDate(arg2);
            loc3.writeInt(arg3);
            loc3.writeString(arg4);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateExtendFlag_async(arg1: AMI_ITest_updateExtendFlag, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateExtendFlag");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateFightSpirit_async(arg1: AMI_ITest_updateFightSpirit, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateFightSpirit");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateFromAddress_async(arg1: AMI_ITest_updateFromAddress, arg2: string): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateFromAddress");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateIssm_async(arg1: AMI_ITest_updateIssm, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateIssm");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateLevel_async(arg1: AMI_ITest_updateLevel, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateLevel");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateOnlineTime_async(arg1: AMI_ITest_updateOnlineTime, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateOnlineTime");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updatePetExplore_async(arg1: AMI_ITest_updatePetExplore, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updatePetExplore");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updatePetLevel_async(arg1: AMI_ITest_updatePetLevel, arg2: string, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updatePetLevel");
            var loc3;
            (loc3 = new SerializeStream()).writeString(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public updateRecharge_async(arg1: AMI_ITest_updateRecharge, arg2: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("updateRecharge");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public useItem_async(arg1: AMI_ITest_useItem, arg2: int, arg3: int): void
        {
            var loc1=makeContext(session);
            var loc2=makeCall("useItem");
            var loc3;
            (loc3 = new SerializeStream()).writeInt(arg2);
            loc3.writeInt(arg3);
            Outgoing.invokeAsync(loc1, loc2, loc3, arg1);
            return;
        }

        public static /* const */NAME: string="Message.Game.ITest";
    }
